x86-64: clear DF for kernel when forwarding syscall.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 3 Jul 2007 10:44:13 +0000 (11:44 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 3 Jul 2007 10:44:13 +0000 (11:44 +0100)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/x86_64/entry.S

index b51c5d494b30c5731d290a007e0770d5f89ad025..0bef33070edc922f3017e8a4500311449f20cebb 100644 (file)
@@ -34,6 +34,7 @@ switch_to_kernel:
         jnc   1f
         movb  $TBF_INTERRUPT,TRAPBOUNCE_flags(%rdx)
 1:      call  create_bounce_frame
+        andl  $~X86_EFLAGS_DF,UREGS_eflags(%rsp)
         jmp   test_all_events
 
 /* %rbx: struct vcpu, interrupts disabled */